package com.dj.merchant.mapper;



import com.dj.merchant.model.StoreInfo;
import com.dj.merchant.model.StoreInfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 
* 
*/
public interface StoreInfoMapper {
    /**
     *
     * 
     */
    long countByExample(StoreInfoExample example);

    /**
     *
     * 
     */
    int deleteByExample(StoreInfoExample example);

    /**
     *
     * 
     */
    int deleteByPrimaryKey(Long storeId);

    /**
     *
     * 
     */
    int insert(StoreInfo record);

    /**
     *
     *
     *
     */
    List<StoreInfo> selectBySearch(StoreInfo storeInfo);
    /**
     *
     * 
     *
     */
    int insertSelective(StoreInfo record);

    /**
     *
     * 
     */
    StoreInfo selectOneByExample(StoreInfoExample example);

    /**
     *
     * 
     */
    List<StoreInfo> selectByExample(StoreInfoExample example);

    /**
     *
     * 
     */
    StoreInfo selectByPrimaryKey(Long storeId);


    /**
     *
     * 
     */
    int updateByExampleSelective(@Param("record") StoreInfo record, @Param("example") StoreInfoExample example);

    /**
     *
     * 
     */
    int updateByExample(@Param("record") StoreInfo record, @Param("example") StoreInfoExample example);

    /**
     *
     * 
     */
    int updateByPrimaryKeySelective(StoreInfo record);

    /**
     *
     * 
     */
    int updateByPrimaryKey(StoreInfo record);
}